<template>
  <el-select
    v-model="model"
    :disabled="disabled"
    :clearable="clearable"
    placeholder="请选择状态"
  >
    <template v-for="key in EMatterTodoStatus" :key="key">
      <el-option
        v-if="isNaN(key)"
        :label="key"
        :value="EMatterTodoStatus[key]"
      />
    </template>
  </el-select>
</template>

<script setup lang="ts">
import { EMatterTodoStatus } from '@/components/statusShow/util'

const { disabled, clearable } = defineProps<{
  disabled?: boolean
  clearable?: boolean
}>()
const model = defineModel()
</script>

<style scoped lang="scss"></style>
